You searched for: “fructu non foliis arborem aestima
Fructu non foliis arborem aestima.
Judge a tree by its fruit, not by its leaves.

Another version is, "Judge by results, not by appearances."